package ru.paswd.marketprice.rest.app.repositories;

import org.springframework.data.repository.CrudRepository;
import ru.paswd.marketprice.rest.app.entity.ProductCategory;

import java.util.Optional;
import java.util.UUID;

public interface ProductCategoriesRepository extends CrudRepository<ProductCategory, UUID> {
    Optional<ProductCategory> findByName(String name);
}
